package at.fhj.swd11.leitner.ue2;

/**
 * @author Stefan Leitner
 *
 */
public class Artikel {
	
	private int code;
	private String label;
	private int price;
	
	public Artikel(int code, String label, int price) {
		this.code = code;
		this.label = label;
		this.price = price;
	}
	
	public void showInfo() {
		System.out.println("CODE: "+code);
		System.out.println("LABEL: "+label);
		System.out.println("PRICE: "+price);
	}
	
	public String getArtikelZeile(){
		return code+";"+label+";"+price;
	}
}
